﻿namespace Yom.WebService.Admin
{
    using System.Text;
    using System.Web;

    public class AdminHead : AdminBase
    {
        public void OutWrite()
        {
            StringBuilder builder = new StringBuilder();
            builder.Append("<div id=\"headbody\" class=\"headbody\"><div class=\"headmain\">");
            builder.Append("<div style=\"float:right;margin:4px;\">");
            builder.Append("<img id=\"closeMenu\" src=\"Images/Admin/closeMenu.png\" style=\"cursor:pointer\" alt=\"\" onclick=\"$.CloseMenu()\" />");
            builder.Append("<img src=\"Images/Admin/logout.png\" style=\"cursor:pointer\" alt=\"\" onmouseover=\"this.src='Images/Admin/logoutIn.png'\" onmouseout=\"this.src='Images/Admin/logout.png'\" onclick=\"$.Logout()\" /></div>");
            builder.Append("<div style=\"height:70px;background:url('Images/Admin/Pic2.jpg') no-repeat;\">");
            builder.Append("<div style=\"position: absolute; font-family: verdana; top: 10px; font-size: 10px; color: rgb(158, 169, 197); left: 143px;\">YomComic V1.0 Beta 2009-03</div></div></div></div>");
            base.Response.Write(builder.ToString());
        }
    }
}